package com.witte.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.witte.entity.UserRoot;

import java.util.List;

public interface UserRootService {
    UserRoot getUserById(int id);
    UserRoot getName();
    List<UserRoot> selectAll();
    List<UserRoot> selectByRule(UserRoot userRoot);
    int deleteByPrimaryKey(Integer id);
    int updateByPrimaryKey(UserRoot userRoot);
    int insert(UserRoot userRoot);
    List<UserRoot> getRecordList(Integer beginPage,Integer pageSize);
    int getRecordCount();
}
